package com.heima.leadnews.publish;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
//开启定时任务
@EnableScheduling
@EnableFeignClients("com.heima.feign.wemedia")
public class PublishApplication {
    public static void main(String[] args) {
        SpringApplication.run(PublishApplication.class,args);
    }
}
